package models;

import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

import play.data.validation.Required;
import play.db.jpa.Model;

@Entity
public class Category extends Model {
	@Required
	public String title;
	
	@Required
	public String description;
	
	public String toString(){
		return title;
	}
}
